package cn.sofwin.day0124.C1;
/**
 * 父类
 * @author lsp同志
 * @email 1540174302@qq.com
 */
public class ParentClass {

   private int number;
private int salary;
    private String name;

    public String getName(String name) {
        System.out.print("名字:"+name+"\t");
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber(int number) {
        System.out.print("工号:"+number+"\t");
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getSalary(int salary) {
        System.out.print("工资:"+salary+"\t");
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }


}




